package com.caiyouxi.boss;

public class LogBean {
    private String category;//日志关联的那个模块。比如：USER：用户BILL：订单PAY：支付等。根据具体的业务模块定
    private String target_type;//目标对象类型，比如用户注册，目标对象就是 USER，具体的定义待定
    private String target_id;//对应目标对象的编号。如果 user 模块，那这里就是相关的用户编号
    private String action;//动作。比如：CREATE、UPDATE、DELETE、VIEW LOGIN
    private String user_id;//触发日志行为的用户
    private String chlient_info;//客户端信息。具体结构：
    private String result_data;//目标数据。保存目标修改后的结果数据
    private String raw_data;//	原始数据。保存对应目标操作修改前的数据
    private String level;//日志级别：DEBUG,INFO,NOTICE,WARNING,ERROR,CRITICAL,ALERT
    private String product_code;//产品线代码。通过产品线来区分日志
    private String host_info;//日志源信息，比如哪个应用

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTarget_id() {
        return target_id;
    }

    public void setTarget_id(String target_id) {
        this.target_id = target_id;
    }

    public String getTarget_type() {
        return target_type;
    }

    public void setTarget_type(String target_type) {
        this.target_type = target_type;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getResult_data() {
        return result_data;
    }

    public void setResult_data(String result_data) {
        this.result_data = result_data;
    }

    public String getRaw_data() {
        return raw_data;
    }

    public void setRaw_data(String raw_data) {
        this.raw_data = raw_data;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getChlient_info() {
        return chlient_info;
    }

    public void setChlient_info(String chlient_info) {
        this.chlient_info = chlient_info;
    }

    public String getProduct_code() {
        return product_code;
    }

    public void setProduct_code(String product_code) {
        this.product_code = product_code;
    }

    public String getHost_info() {
        return host_info;
    }

    public void setHost_info(String host_info) {
        this.host_info = host_info;
    }
}
